// 设备类型
export interface DeviceTypeResultItem {
  name?: string;
  token?: string;
  id: string;
  imageUrl: string;
}
// 继承多个的话 用 逗号
export interface DeviceParams extends API.PageParams, API.CurrentParams {
  includeVoiceBox?: boolean;
  current?: number;
  includeDeviceType?: boolean;
  includeAssignment?: boolean;
  excludeAssigned?: boolean;
  startDate?: string;
  endDate?: string;
  deviceName?: string;
  deviceToken?: string;
  name?: string;
  token?: string;
  comments?: string;
  imageUrl?: string;
  deviceType?: DeviceTypeResultItem;
  id?: string;
  userURL?: string;
  voiceBoxUrl?: string;
  areaUrl?: string;
  aassetUrl?: string;
  activeDeviceAssignments?: any;
  deviceTypeList?: string[];
}

// 设备
export interface DeciceResultItem {
  idevice: any;
  user: any;
}
export interface DeciceResult {
  numResults?: number;
  results: DeciceResultItem[];
}
// 创建设备
export interface CreateDeviceParams {
  comments: string;
  deviceAccounts?: Array<any>;
  deviceTypeToken: string;
  metadata?: object;
  name: string;
  token: string;
}
